package com.global.emc.spring.chain;

import java.lang.reflect.Method;

import org.springframework.core.MethodParameter;
import org.springframework.web.context.request.NativeWebRequest;
import org.springframework.web.method.support.ModelAndViewContainer;

public class BeforeCallMethodContent {
	
	
	
	public BeforeCallMethodContent(
			Object obj,
			Method method,
			Object[] aobj,
			MethodParameter[] parameters,
			NativeWebRequest request,
			ModelAndViewContainer mavContainer,
			Object... providedArgs) {
		this.obj = obj;
		this.method = method;
		this.aobj = aobj;
		this.parameters = parameters;
		this.request = request;
		this.mavContainer = mavContainer;
		this.providedArgs = providedArgs;
	}
	
	private Object obj;
	private Method method;
	private Object aobj[];
	private MethodParameter[] parameters;
	private NativeWebRequest request;
	private ModelAndViewContainer mavContainer;
	private Object[] providedArgs;
	
	
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	public Method getMethod() {
		return method;
	}
	public void setMethod(Method method) {
		this.method = method;
	}
	public Object[] getAobj() {
		return aobj;
	}
	public void setAobj(Object[] aobj) {
		this.aobj = aobj;
	}
	public MethodParameter[] getParameters() {
		return parameters;
	}
	public void setParameters(MethodParameter[] parameters) {
		this.parameters = parameters;
	}
	public NativeWebRequest getRequest() {
		return request;
	}
	public void setRequest(NativeWebRequest request) {
		this.request = request;
	}
	public ModelAndViewContainer getMavContainer() {
		return mavContainer;
	}
	public void setMavContainer(ModelAndViewContainer mavContainer) {
		this.mavContainer = mavContainer;
	}
	public Object[] getProvidedArgs() {
		return providedArgs;
	}
	public void setProvidedArgs(Object[] providedArgs) {
		this.providedArgs = providedArgs;
	}
	

}
